package com.bootlever.framework.rmi.bean;

import com.google.common.collect.Lists;
import com.google.common.collect.Maps;

import java.util.List;
import java.util.Map;

public class RmiClient {

    private String appName;
    private Map<String, List<RmiInfo>> okStatusInfos;
    private Map<String, List<RmiInfo>> busyStatusInfos;

    public RmiClient(){
        this.okStatusInfos = Maps.newConcurrentMap();
        this.busyStatusInfos = Maps.newConcurrentMap();
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public Map<String, List<RmiInfo>> getOkStatusInfos() {
        return okStatusInfos;
    }

    public void setOkStatusInfos(Map<String, List<RmiInfo>> okStatusInfos) {
        this.okStatusInfos = okStatusInfos;
    }

    public Map<String, List<RmiInfo>> getBusyStatusInfos() {
        return busyStatusInfos;
    }

    public void setBusyStatusInfos(Map<String, List<RmiInfo>> busyStatusInfos) {
        this.busyStatusInfos = busyStatusInfos;
    }
}
